import pygame
from pygame.sprite import Sprite

class Love(Sprite):
	"""a class to show single love"""
	
	def __init__(self):
		super().__init__()
		# load the image for love
		self.image = pygame.image.load('love.bmp')
		self.rect = self.image.get_rect()	
		
		# first location
		self.rect.x = self.rect.width
		self.rect.y = self.rect.height

		self.y = self.rect.y
		
	def update(self):
		self.y += 0.2
		self.rect.y = self.y

	
